﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Input;

namespace S7Simulate.Config
{
    public class BaseConfig
    {
        
		/// <summary>
		/// 加工文件路径
		/// </summary>
		public string FilePath { get; set; }

        /// <summary>
		/// 商川加工文件路径
		/// </summary>
		public string RemoteFilePath { get; set; }
        /// <summary>
        /// 调试模式
        /// </summary>
		public bool IsDebug { get; set; }
        /// <summary>
        /// 是否为TCP传输模式
        /// </summary>
        public bool IsTCPMode { get; set; }
        /// <summary>
        /// 发送条码的服务器端口
        /// </summary>
        public int ServerPort { get; set; }
       
        /// <summary>
        /// 默认语言
        /// </summary>
        public string Language { get; set; } = "ZH-CN";
        /// <summary>
        /// 多语言文件
        /// </summary>
        public string LanguageXaml { get; set; } = "zh-cn.xaml";
        /// <summary>
        /// Mysql连接字符串
        /// </summary>
        public string MySqlConn { get; set; }
        /// <summary>
        /// Mysql连接字符串（中间库）
        /// </summary>
        public string MySqlConnForMid { get; set; }
        /// <summary>
        /// 商川数据库存储过程反馈
        /// </summary>
        public string SqlserverConnForSc { get; set; }
        /// <summary>
        /// 标准件条码
        /// </summary>
        public string StandardBarCode { get; set; }
        /// <summary>
        /// 是否允许重复扫码
        /// </summary>
        public bool AllowBarcodeRepeat { get; set; }
        /// <summary>
        /// 标准件数量
        /// </summary>
        public int Quantity { get; set; }
        /// <summary>
        /// 西门子版本号
        /// </summary>
        public string SiemensVersion { get; set; }
        /// <summary>
        /// 本地ip
        /// </summary>
        public string LocalIP { get; set; }
        /// <summary>
        /// tcp通讯协议本地服务器监听端口号
        /// </summary>
        public string LocalPort { get; set; }
        public string PLCIP { get; set; }
        public string PLCPort { get; set; }
        public string CurrentMachineNo { get; set; }
        public string CurrentMAddr { get; set; }
        public string CurrentDAddr { get; set; }
    }
}
